<html>
<head>
<title>Untitled</title>
<link rel="stylesheet" href="../../../../styles/Default.css" type="text/css">
</head>
<body bgcolor="#FFFFFF">

<p class="Decl">TPolyFillType = (pftEvenOdd, pftNonZero, pftPositive, pftNegative);</p>
<br>

<h2>Description</h2>
<p class="Body">
<img src="../../../../Images/clip_evenodd.png" alt="" width="239" height="239" border="0">&nbsp;&nbsp;
<img src="../../../../Images/clip_nonzero.png" alt="" width="239" height="239" border="0"><br>
<img src="../../../../Images/clip_positive.png" alt="" width="239" height="239" border="0">&nbsp;&nbsp;
<img src="../../../../Images/clip_negative.png" alt="" width="239" height="239" border="0">
</p>

<p class="Body">
Graphics32 currently only supports the two most widely used polygon filling rules for polygon rendering - EvenOdd (aka Alternate) and NonZero (aka Winding). However, while Positive and Negative filling rules are not supported by the renderer, the TClipper class used in clipping operations does accommodate them (see <a href="../Classes/TClipper/Methods/Execute.htm">TClipper.Execute</a>).<br><br>

For more details about polygon filling rules see:<br>
<a href="http://www.w3.org/TR/SVG/painting.html#FillRuleProperty">Polygon filling rules in SVG</a><br>
<a href="http://glprogramming.com/red/chapter11.html">Winding Numbers and Winding Rules in OpenGL</a><br><br>
</p>

</body>
</html>